package com.cssy.yd.logic.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.byd.acegiext.domain.User;
import com.cssy.yd.logic.dao.LogicOtherOutwhItemDAO;
import com.cssy.yd.logic.entity.LogicOtherOutwhItemDO;
import com.cssy.yd.logic.service.ILogicOtherOutwhItemService;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;
import com.plat.util.IDCodeTypeUtil;
@Service("logicOtherOutwhItemService")
public class LogicOtherOutwhItemServiceImpl implements
		ILogicOtherOutwhItemService {

	@Resource(name = "logicOtherOutwhItemDAO")
	private LogicOtherOutwhItemDAO logicOtherOutwhItemDAO;
	@Override
	public SearchResult findListByExample(SearchConditions scs)
			throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer delete(String id, User user) throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer update(LogicOtherOutwhItemDO t, User user)
			throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public LogicOtherOutwhItemDO save(LogicOtherOutwhItemDO t, User user)
			throws SyBaseException {
		String id = IDCodeTypeUtil.getId();
		t.setId(id);
		logicOtherOutwhItemDAO.insertLogicOtherOutwhItemDO(t);
		return t;
	}

	@Override
	public LogicOtherOutwhItemDO findListById(String id) throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<LogicOtherOutwhItemDO> findByPid(String pid)
			throws SyBaseException {
		return logicOtherOutwhItemDAO.findByPid(pid);
	}

	@Override
	public void deleteByPid(String pid) throws SyBaseException {
		logicOtherOutwhItemDAO.deleteByPid(pid);

	}

	@Override
	public Integer deleteBizRemoved(String id) throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

}
